package xcode

var (
	OK                         = add(0, "OK")
	NoLogin                    = add(101, "NOT_LOGIN")
	RequestErr                 = add(400, "INVALID_ARGUMENT")
	Unauthorized               = add(401, "UNAUTHENTICATED")
	TokenUnknown               = add(401, "token Unknown")
	ErrTokenMalformed          = add(401, "ErrTokenMalformed")
	ValidationErrorExpired     = add(401, "ValidationErrorExpired")
	ValidationErrorNotValidYet = add(401, "ValidationErrorNotValidYet")
	ErrTokenNotExist           = add(401, "ErrTokenNotExist")
	ErrTokenNotValidYet        = add(401, "ErrTokenNotValidYet")
	ErrTokenInvalid            = add(401, "ErrTokenInvalid")
	NoOpUserId                 = add(401, "no opUserID")
	NoOpMerchantId             = add(401, "no opMerchantId")
	NoOpUserType               = add(401, "no opUserType")
	UserTypeInvalid            = add(401, "user type invalid")
	NotAdmin                   = add(401, "no admin")
	NotUser                    = add(401, "no user")
	AccessDenied               = add(403, "PERMISSION_DENIED")
	NotFound                   = add(404, "NOT_FOUND")
	MethodNotAllowed           = add(405, "METHOD_NOT_ALLOWED")
	Canceled                   = add(498, "CANCELED")
	ServerErr                  = add(500, "INTERNAL_ERROR")
	ServiceUnavailable         = add(503, "UNAVAILABLE")
	Deadline                   = add(504, "DEADLINE_EXCEEDED")
	DbError                    = add(508, "DATABASE_ERROR")
	LimitExceed                = add(509, "RESOURCE_EXHAUSTED")
	ParamInvalid               = add(510, "参数错误")
)
